package com.xx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xx.common.PagePo;
import com.xx.entity.ChatRoomMember;
import com.xx.pojo.po.ChatRoomMemberPo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lotey
 * @since 2024-04-21 18:12
 */
public interface ChatRoomMemberService extends IService<ChatRoomMember> {

    PageInfo<ChatRoomMember> queryPage(ChatRoomMemberPo po, PagePo pagePo);

    List<ChatRoomMember> findList(long roomId);

    void add(ChatRoomMember ChatRoomMember);

    void remove(ChatRoomMember ChatRoomMember);

    void pushEvent(ChatRoomMember ChatRoomMember,String action);
}
